//
//  PhotoManger.h
//  OnionHome
//
//  Created by fengjie on 2019/9/17.
//  Copyright © 2019 FengJie. All rights reserved.
//

#import <Foundation/Foundation.h>

@class PhotoModel;

NS_ASSUME_NONNULL_BEGIN

typedef void(^PhotoMangerChoiceCountChange)(NSInteger choiceCount);

@interface PhotoManger : NSObject

/// 可选的的最大数量
@property (nonatomic, assign) NSInteger maxCount;
/// 已选数量
@property (nonatomic, assign) NSInteger choiceCount;
/// 已选图片
@property (nonatomic, strong) NSMutableArray<PhotoModel*> *photoModelList;
/// 选择图片变化
@property (nonatomic, copy) PhotoMangerChoiceCountChange choiceCountChange;

/**
 单例
 
 @return 返回对象
 */
+(PhotoManger*)standardPhotoManger;

@end

NS_ASSUME_NONNULL_END
